package com.example.bridge.message;

/**
 * 抽象消息级别（桥梁）普通消息、加急消息继承该类
 * 抽象
 */
public abstract class AbstractMessage {

    private IMessage message;

    public AbstractMessage(IMessage message) {
        this.message = message;
    }

    public void sendMessage(String content,String toUser) {
        message.send(content, toUser);
    }
}
